<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
.btn {
  width: 100%;
  height:100px;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  margin-bottom: 15px;
    font-size: 18px;
  text-align: center;
  }
  

  
.btn_primary {
  background-color: #04be02;
}

</style>

</head>
<body>
	<h1>Welcome To SpringMVC!</h1>

     <h3 id="menu-image">图像接口</h3>
      <span class="desc">拍照或从手机相册中选图接口</span>
      <button class="btn btn_primary" id="chooseImage">chooseImage</button>
      <span class="desc">预览图片接口</span>
      <button class="btn btn_primary" id="previewImage">previewImage</button>
      <span class="desc">上传图片接口</span>
      <button class="btn btn_primary" id="uploadImage">uploadImage</button>
      <span class="desc">下载图片接口</span>
      <button class="btn btn_primary" id="downloadImage">downloadImage</button>

	
<script type="text/javascript">
define = null;
require = null;
</script>  
<script src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script>
wx.config({
    debug: false,
    appId: '${appId}',
    timestamp:'${timestamp}',
    nonceStr: '${nonceStr}',
    signature: '${signature}',
    jsApiList: [
       'chooseImage',
       'previewImage',
       'uploadImage',
       'downloadImage'
    ]
});
</script>
<!--自定义js-->
  <script src="/static/ajz/wx_js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/ajz/wx_js/jquery.form.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/ajz/wx_js/oper.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>